package com.cs.cssupplier.service.impl;


import com.cs.cssupplier.domain.CsOperator;
import com.cs.cssupplier.mapper.CsOperatorMapper;
import com.cs.cssupplier.service.CsOperatorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author admin
* @description 针对表【cs_operator(业务经办人信息表)】的数据库操作Service实现
* @createDate 2024-11-11 16:40:47
*/
@Service
public class CsOperatorServiceImpl implements CsOperatorService {

    @Resource
    private CsOperatorMapper mapper;

    @Override
    public int insertOperator(CsOperator csOperator) {
        return mapper.insertOperator(csOperator);
    }

    @Override
    public CsOperator selectCsOperatorByYwId(Long ywId) {
        return mapper.selectCsOperatorByYwId(ywId);
    }

    @Override
    public CsOperator selectCsOperatorByHid(Long hid) {
        return mapper.selectCsOperatorByHid(hid);
    }

    @Override
    public List<CsOperator> selectBsOperatorList(CsOperator csOperator) {
        return mapper.selectBsOperatorList(csOperator);
    }

    @Override
    public int updateOperator(CsOperator csOperator) {
        return mapper.updateOperator(csOperator);
    }
}




